KnitPay\Gateways\Razorpay\Integration B

Total Complexity 92
Dependencies 6
Dependents 2
Total lines 847
Lines of code 604
Logical lines of code 259
Comment lines 120
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_settings_fields()
C
24
17 226
refresh_access_token()
A
44 13 45
get_config()
A
46 7 40
save_post()
A
53 8 22
update_connection_status()
A
48 7 34
razoray_deprecated_keys_notice()
A
45 6 46
schedule_next_refresh_access_token()
S
54 6 22
save_token()
S
54 6 19
create_connection()
S
51 3 28
connect()
S
52 3 26
__construct()
S
53 2 24
setup()
S
59 2 14
get_gateway()
S
62 2 12
inc_refresh_token_fail_counter()
S
67 2 8
subscription_status_update_listener()
S
66 2 8
gateway_configuration_display_value()
S
75 2 4
clear_config()
S
60 1 13
redirect_to_config()
S
75 1 4
configure_webhook()
S
72 1 5
allowed_redirect_hosts()
S
77 1 4